package net.csdn.business.common.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.csdn.business.common.constant.CommonConstants;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: CommonConfigVO
 * @Description:
 * @Author: zhangyl
 * @Date: 2024/6/12 10:17
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CommonConfigVO implements Serializable {

    /**
     * id
     */
    private Long id;

    /**
     * 配置类型
     */
    private String propType;

    /**
     * 配置类型名称
     */
    private String typeName;

    /**
     * 配置值
     */
    private String propValue;

    /**
     * 是否系统配置：true:是；false:否
     */
    private Boolean isSystem;

    @JsonFormat(pattern = CommonConstants.DEFAULT_PATTERN, timezone = CommonConstants.DEFAULT_TIMEZONE)
    private Date createdDate;

    @JsonFormat(pattern = CommonConstants.DEFAULT_PATTERN, timezone = CommonConstants.DEFAULT_TIMEZONE)
    private Date lastModifiedDate;

    private String createdBy;
    private String createdByUserName;
    private String createdByUserPhoto;
    private String lastModifiedBy;

}
